Skip to content

Test/add vitest unit tests#1

Merged
finalerock44 merged 2 commits into
mainfrom
test/add-vitest-unit-tests
Jun 12, 2026
Merged

Test/add vitest unit tests#1
finalerock44 merged 2 commits into
mainfrom
test/add-vitest-unit-tests

Conversation

@finalerock44

Copy link
Copy Markdown
Contributor

No description provided.

The action shipped to npm (@devicecloud.dev/eas-workflow) with no tests. Add
vitest and unit-test the extracted helpers:
- getEnv: missing-API-key error, DCD_EAS_*/DCD_GH_* -> metadata mapping,
  skipping unset/empty vars, apiUrl/buildUrl/useBeta parsing.
- escapeShellValue: leaves plain values alone, escapes whitespace and
  shell-significant characters (injection surface).
- setOutput: set-output line format and newline collapsing.

A GitHub Actions workflow runs `pnpm test` on push/PR.
@finalerock44 finalerock44 self-assigned this Jun 12, 2026
@finalerock44 finalerock44 merged commit aa823cd into main Jun 12, 2026
2 checks passed
@finalerock44 finalerock44 deleted the test/add-vitest-unit-tests branch June 12, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant